package com.aiyige.page.my.download.event;

public class EventToggleEdit {
    boolean enableEdit;

    public EventToggleEdit() {
    }

    private EventToggleEdit(Builder builder) {
        setEnableEdit(builder.enableEdit);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public boolean isEnableEdit() {
        return enableEdit;
    }

    public void setEnableEdit(boolean enableEdit) {
        this.enableEdit = enableEdit;
    }


    public static final class Builder {
        private boolean enableEdit;

        private Builder() {
        }

        public Builder enableEdit(boolean val) {
            enableEdit = val;
            return this;
        }

        public EventToggleEdit build() {
            return new EventToggleEdit(this);
        }
    }
}
